#!/bin/bash

num=0
while [ $num -lt 101 ]
do 
	a=0
	printf "\r%3d%%  [" $num
	while [ $a -lt $num  ]
	do
		printf "="
		a=`expr $a + 4`
	done
	printf ">"
	b=$num
	while [ $b -lt 100 ]
	do
		printf " "
		b=`expr $b + 4`
	done
	printf "] "
	num=`expr $num + 4`
	sleep 0.5
done
printf "\nProcess complete\n"

